package cn.edu.sdjzu.service;

import cn.edu.sdjzu.entity.User;
import cn.edu.sdjzu.entity.authority.UserAssRole;

import java.sql.SQLException;
import java.util.Collection;

public interface UserAssRoleService {
    //    private static final UserAssRoleDaoImpl userAssRoleDaoImpl = UserAssRoleDaoImpl.getInstance();
    //    private static final UserAssRoleServiceImpl
    //    USER_ASS_ROLE_SERVICE = new UserAssRoleServiceImpl();
    //
    //    private UserAssRoleServiceImpl() {
    //    }
    //
    //    public static UserAssRoleServiceImpl getInstance() {
    //        return USER_ASS_ROLE_SERVICE;
    //    }
    //
    //获得某User对象关联的所有UserAssRole对象
    Collection<UserAssRole> findAll(User user) throws SQLException;
}
